package com.neuedu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neuedu.bean.Department;
/**
 * 科室操作
 * @author 东软教育
 *
 */

public interface DepartmentMapper extends BaseMapper<Department> {
	//得到所有科室	
	@Select("select * from department where dept_type='门诊'")
	List<Department> getAllDeptList();
//	按科室类型显示能执行检查或检验等业务的的科室列表
	List<Department> getDeptmentByType(String dept_type);
}
